package com.siwei.mes.entity.mixproportion;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 配合比修改记录（品控）(MixProportionUpdateLog)实体类
 *
 * @author linzi
 * @since 2024-09-07 23:59:45
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_mix_proportion_update_log")
@ApiModel(value = "MixProportionUpdateLog", description = "配合比修改记录（品控）")
public class MixProportionUpdateLog implements Serializable {
    private static final long serialVersionUID = 362150151052340194L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "配合比修改记录（品控）主键ID", name = "id")
    private Long id;
    /**
     * 配合比id pk_mix_proportion表中的id
     */
    @Column(name = "mix_id")
    @ApiModelProperty(value = "配合比id pk_mix_proportion表中的id", name = "mixId")
    private Long mixId;
    /**
     * 修改前json
     */
    @Column(name = "before_json")
    @ApiModelProperty(value = "修改前json", name = "beforeJson")
    private JSONObject beforeJson;
    /**
     * 修改后json
     */
    @Column(name = "after_json")
    @ApiModelProperty(value = "修改后json", name = "afterJson")
    private JSONObject afterJson;
    /**
     * 创建人
     */
    @Column(name = "creater")
    @ApiModelProperty(value = "创建人", name = "creater")
    private Long creater;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
}
